<?php
defined( '_JEXEC' ) or die( 'Restricted access' );
class TableNuevacat extends JTable
{
	var $id = null;
	var $short_desc = null;
	var $long_desc = null;
	var $short_desc_image = null;
	var $long_desc_image = null;
	var $active = null;

	function TableNuevacat(& $db) {
		parent::__construct('#__qcalendar_category', 'id', $db);
	}
	function check($i=0){
		if ($i==1){
			$this->setError(JText::_('COM_PQCE_1CATERR'));
			return false;
		}
		return true;
	}
}
